package com.albert.tool;

public enum MessageType {

    ASK_DEVICE_INFO(1, "广播询问设备信息"),
    RESPONSE_ASK_DEVICE_INFO(2, "回复设备信息"),

    DEVICE_ACTIVE_SEND_INFO(3, "子设备主动发送信息"),

    BROADCAST_ALL_SUB_DEVICE(4, "将所有的连接设备广播出去"),
    BROADCAST_NET_INFO(5, "将网络信息发送出去，如IP地址，wifi名称密码等"),

    SUB_DEVICE_ASK_NET_INFO(6, "子设备询问网络配置信息"),

    SUB_DEVICE_ASK_TARGET_DEVICE_INFO(7, "子设备询问目标设备的信息"),
    BROADCAST_SINGLE_SUB_DEVICE(8, "返回询问目标设备的信息"),
    PHONE_MOVE_CAR(9, "移动车辆"),
    PHONE_MOVE_CAMERA(10, "移动摄像头"),
    PHONE_MOVE_ARM(11, "控制机械臂"),
    PHONE_SET_DEVICE_ENABLE(12, "");

    private final int messageType;
    private final String description;

    MessageType(int messageType, String description) {
        this.messageType = messageType;
        this.description = description;
    }

    public int getMessageType() {
        return messageType;
    }

    public String getDescription() {
        return description;
    }
}

;